Skip to content

executor: remove direct reference to loopback - #15

Merged
bajtos merged 1 commit into
masterfrom
feature/remove-last-require-loopback
Jun 26, 2014
Merged

executor: remove direct reference to loopback#15
bajtos merged 1 commit into
masterfrom
feature/remove-last-require-loopback

Conversation

@bajtos

@bajtos bajtos commented Jun 25, 2014

Copy link
Copy Markdown
Member

Modify the executor to access the loopback object via app.loopback.

Fall back to require('loopback') only when app.loopback is not set
(loopback versions before 1.9).

This change makes it possible to use loopback-boot inside loopback unit-tests among other things.

/to @ritch please review.

Modify the executor to access the loopback object via `app.loopback`.

Fall back to `require('loopback')` only when `app.loopback` is not set
(loopback versions before 1.9).
bajtos referenced this pull request in strongloop/loopback Jun 25, 2014
Modify `app.boot` to throw an exception, pointing users to the new
module `loopback-boot`.
@ritch

ritch commented Jun 25, 2014

Copy link
Copy Markdown
Member

LGTM

bajtos added a commit that referenced this pull request Jun 26, 2014
…opback

executor: remove direct reference to loopback
@bajtos
bajtos merged commit b9b338d into master Jun 26, 2014
@bajtos
bajtos deleted the feature/remove-last-require-loopback branch June 26, 2014 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants